package cn.demoncat.util.lang.entity.report;

import com.baomidou.mybatisplus.annotation.TableField;

import java.math.BigDecimal;

/**
 * 日期统计
 * 
 * @author 延晓磊
 *
 * @since 2017年9月12日
 */
public class DateCount extends Count implements DateEntity{

	// 日期
	@TableField(exist = false)
	protected String date;

	public DateCount() {
		super();
	}

	public DateCount(String date, long count, BigDecimal sum) {
		super();
		this.date = date;
		this.count = count;
		this.sum = sum;
	}
	
	public DateCount(String date, long count) {
		super();
		this.date = date;
		this.count = count;
	}
	
	public DateCount(String date, BigDecimal sum) {
		super();
		this.date = date;
		this.sum = sum;
	}

	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}

	@Override
	public String toString() {
		return "DateCount{" +
				"date='" + date + '\'' +
				", count=" + count +
				", sum=" + sum +
				'}';
	}
}
